package com.ty.store.service;

import com.ty.store.vo.CartVo;

import java.util.List;

/**
 * @author ty
 */
public interface ICartService {
    void addToCart(Integer uid,Integer pid,Integer amount,String username);
    List<CartVo> getVoByUid(Integer uid);
    Integer addNum(Integer cid,Integer uid,String username);
    List<CartVo> getVOByCids(Integer uid, Integer[] cids);
}
